<%@ include file="/WEB-INF/jspf/directive/taglib.jspf"%>
<%@ taglib uri="http://st4.mikhaylov.knure.kharkov.ua/ctld" prefix="ctld"%>

<html>

<c:set var="title"><fmt:message key="clientpage.title.text" /></c:set>
<%@ include file="/WEB-INF/jspf/head.jspf"%>

<body>

	<div class="container small-form">
		<h2>
			<c:out value="${ctld:fhs(sessionScope.user)}"></c:out>
		</h2>
		<br />

		<h3>
			<fmt:message key="clientpage.label.mainmenu" />:
		</h3>

		<a href="controller?command=browseAccounts"
			class="btn btn-large btn-block mrg-btn"> <fmt:message
				key="clientpage.button.browseaccounts" />
		</a> <a href="controller?command=viewSettings"
			class="btn btn-large btn-block mrg-btn"> <fmt:message
				key="clientpage.button.viewsettings" />
		</a> <a href="controller?command=viewPayments"
			class="btn btn-large btn-block mrg-btn"> <fmt:message
				key="clientpage.button.viewmypayments" />
		</a>
		<c:if test="${sessionScope.openPayments > 0}">
			<div class="alert fade in">
				<fmt:message key="clientpage.label.youhave" />
				<c:out value="${sessionScope.openPayments}"></c:out>
				<fmt:message key="clientpage.label.unconfirmedpayments" />
				<a class="close" data-dismiss="alert" href="#">&times;</a>
			</div>
		</c:if>

		<a href="controller?command=browseCreatePaymentPage"
			class="btn btn-large btn-block mrg-btn"> <fmt:message
				key="clientpage.button.askforapayment" />
		</a> <a href="controller?command=logout"
			class="btn btn-large btn-block mrg-btn"> <fmt:message
				key="clientpage.button.logout" />
		</a>
	</div>

</body>
</html>